package com.lmz.product.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.lmz.common.utils.PageUtils;
import com.lmz.product.VO.Roots.BaseAttrs;
import com.lmz.product.entity.ProductAttrValueEntity;

import java.util.List;
import java.util.Map;

/**
 * spu属性值
 *
 * @author lmz
 * @email ${email}
 * @date 2022-04-17 16:09:59
 */
public interface ProductAttrValueService extends IService<ProductAttrValueEntity> {

    PageUtils queryPage(Map<String, Object> params);

    void saveProductAttr(List<BaseAttrs> baseAttrs, Long id);

    List<ProductAttrValueEntity> baseAttrlistforSpu(Long spuId);

    void updateSpuAttr(Long spuId, List<ProductAttrValueEntity> entities);

}